const StudyIndex = () => import(/* webpackChunkName: "Study" */ '../views/study/index.vue');
const DataIndex = () => import(/* webpackChunkName: "Data" */ '../views/study/DataIndex.vue');
const Study = () => import(/* webpackChunkName: "Study" */ '../views/study/Study.vue');
const InformationType = () => import(/* webpackChunkName: "Study" */ '../views/study/InformationType.vue');
const Valuation = () => import(/* webpackChunkName: "Data" */ '../views/study/Valuation.vue');
const Shibor = () => import(/* webpackChunkName: "Data" */ '../views/study/Shibor.vue');
const Grade = () => import(/* webpackChunkName: "Data" */ '../views/study/Grade.vue');
const NewBond = () => import(/* webpackChunkName: "Data" */ '../views/study/NewBond.vue');
const Bill = () => import(/* webpackChunkName: "Data" */ '../views/study/Bill.vue');
const DataDetail = () => import(/* webpackChunkName: "Data" */ '../views/study/DataDetail.vue');
const Gossip = () => import(/* webpackChunkName: "Gossip" */ '../views/study/Gossip.vue');
const InformationDetail = () => import(/* webpackChunkName: "Study" */ '../views/study/InformationDetail.vue');
const GossipDetail = () => import(/* webpackChunkName: "Study" */ '../views/study/GossipDetail.vue');

export default [
    {
        path: '/information',
        component: StudyIndex,
        children: [
            {
                path: '/',
                alias: '/study',
                name: `{ "left": "add", "content": "information-nav", "nav": 0, "right": "user" }`,
                component: Study
            },
            {
                path: '/InformationType/:type',
                alias: '/study/type/:type',
                name: `{ "left": "add", "content": "information-nav", "nav": 0, "right": "user"}`,
                component: InformationType
            },
        ]
    },
    {
        path: '/informationDetail/:id',
        alias: '/study/detail/:id',
        name: `{ "left": "back", "content": "监管层召开会议，短期理财基…", "right": "share" }`,
        component: InformationDetail,
    },
    {
        path: '/data',
        component: DataIndex,
        children: [
            {
                path: 'valuation',
                alias: '/study/valuation',
                name: `{ "left": "add", "content": "information-nav", "nav": 1, "right": "user"}`,
                component: Valuation,
            },
            {
                path: 'shibor',
                alias: '/study/shibor',
                name: `{ "left": "add", "content": "information-nav", "nav": 1, "right": "user" }`,
                component: Shibor,
            },
            {
                path: 'grade',
                alias: '/study/grade',
                name: `{ "left": "add", "content": "information-nav", "nav": 1, "right": "user"  }`,
                component: Grade,
            },
            {
                path: 'newBond',
                alias: '/study/newBond',
                name: `{ "left": "add", "content": "information-nav", "nav": 1, "right": "user"   }`,
                component: NewBond,
            },
            {
                path: 'bill',
                alias: '/study/bill',
                name: `{ "left": "add", "content": "information-nav", "nav": 1, "right": "user"    }`,
                component: Bill,
            }
        ]
    },
    {
        path: '/gossip',
        alias: '/study/gossip',
        component: Gossip,
        name: `{ "left": "add", "content": "information-nav", "nav": 2, "right": "user"}`,
    },
    {
        path: '/gossipDetail/:id',
        alias: '/study/gossipDetail/:id',
        name: `{ "left": "back", "content": "金融八卦", "right": "share" }`,
        component: GossipDetail
    },
    {
        path: '/dataDetail/:id',
        alias: '/study/dataDetail/:id',
        component: DataDetail
    },
]